package com.sinopec.basemodule.adapter

import android.content.Context
import android.widget.TextView
import com.sinopec.basemodule.R

/**
 * lwj at 2023/6/1
 * 读取码区域数据
 */
class ReadCodeAreaAdapter (mContext: Context): CommonAdapter<String>(
    mContext,
    R.layout.item_rfid_scanning,
    ArrayList()
) {
    override fun convert(
        holder: CustomViewHolder,
        s: String,
        position: Int
    ) {
        val itemView = holder.itemView
        //rfid code
        val tv_rfidCode_left = holder.getView<TextView>(R.id.tv_rfidCode_left)
        tv_rfidCode_left.text = s
    }
}